package com.lcz.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zhou.starter.jpacomment.annotation.ColumnComment;
import com.zhou.starter.jpacomment.annotation.TableComment;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;


@Data
@TableName("sys_role")
@Table(name = "sys_role")
@Entity
@TableComment("角色表")
public class Role implements Serializable {

    @Id
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;


    @ColumnComment("角色名")
    private String roleName;
}
